package com.xxjz.sc.servers.util;

import org.springframework.stereotype.Service;

public interface IMinioClientServers {
    /**
     * 上传文件
     */
    public void uploadFile(byte[] data,String filePath,String bucketName);

    /**
     * 删除文件
     */
    public void deleteFile(String filePath,String bucketName);

    /**
     * 获取文件后缀
     */
    public String getContextType(String path);

    /**
     * 获取文件分享链接
     */
    public String getObjectURL(String bucketName, String objectName, Integer expires);
}
